Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YouTube] Check whether player responses are valid for all InnerTube clients used #1070

Merged
merged 4 commits into from
Jun 18, 2023

Conversation

FireMasterK
Copy link
Member

@FireMasterK FireMasterK commented Jun 2, 2023

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

This is in light of the recent YouTube changes.
Also removed unneeded empty string fallback when the videoId property in the player responses is missing.

@FireMasterK FireMasterK added the youtube service, https://www.youtube.com/ label Jun 2, 2023
@AudricV
Copy link
Member

AudricV commented Jun 2, 2023

You should change the Javadoc and the parameters of the method used, as it doesn't apply anymore to only additionnal player responses and YouTube return a different video error for the IP rate limit case.

You should also change this behavior for the TV client we use.

@AudricV AudricV changed the title Fail-fast extraction if the initial player response is invalid. [YouTube] Check whether player responses are valid for all InnerTube clients used Jun 18, 2023
@AudricV AudricV merged commit d961d34 into TeamNewPipe:dev Jun 18, 2023
@FireMasterK FireMasterK deleted the player-response-failfast branch June 18, 2023 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
youtube service, https://www.youtube.com/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants